package com.cjx.mybatisdataauth.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cjx.mybatisdataauth.domain.DataAuthEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author cjunxian
 * @description 数据权限mapper
 * @date 2022/3/13
 */
@Mapper
public interface DataAuthMapper extends BaseMapper<DataAuthEntity> {

    /**
     * 获取sql模板
     * @param name 名称
     * @return
     */
    String getAuthSql(@Param("name") String name);

}
